<span id="${uuid}"></span>
<div class="box_tc_s">
    <form data-id="baseForm" method="post">
        <table border="1" class="hydra-table" cellpadding="0" cellspacing="0">
            <tr>
                <td class="hydra-left">结构名称：</td>
                <td class="hydra-right">
                    <input type="text" data-id="pName"
                           name="pName" class="easyui-validatebox hydra-input-width"
                           data-options="validType:['length[0,20]']"
                           placeholder="结构名称.." value=""/>
                </td>
            </tr>
            <tr class="hydra-tr-bg">
                <td class="hydra-left">结构编码：</td>
                <td class="hydra-right"><input type="text" data-id="code"
                                               name="code" class="easyui-validatebox hydra-input-width"
                                               data-options="alidType:['length[0,20]']"
                                               placeholder="结构编码.." value=""/></td>
            </tr>
            <tr>
                <td class="hydra-left">材料分类：</td>
                <td class="hydra-right">
                    <input type="text" data-id="bomType"
                           name="bomType" class="easyui-validatebox hydra-input-width"
                           data-options="validType:['length[0,20]']"
                           placeholder="材料分类.." value=""/>
                </td>
            </tr>
            <tr class="hydra-tr-bg">
                <td class="hydra-left">备注:</td>
                <td class="hydra-right"><textarea data-id="remark"
                                                  autocomplete="off" name="remark"
                                                  class="hydra-input-width hydra-textarea"
                                                  data-options="validType:['length[0,400]']"
                                                  placeholder="备注.."></textarea></td>
            </tr>
        </table>
    </form>
</div>
<script language="javascript">
    seajs.use("", function(){
        var uuid = "${uuid}";
        var page = new $.PageDomFactory(uuid);
        $[uuid] = {
            pageFactory: page
        }
    });

    function pbom_search(win){
        win.wait("start", "搜索中,请稍候.");
        var form = $["${uuid}"].pageFactory.getJqDom("baseForm");
        var postData = form.serializeJson();
        win.callback(postData);
        win.wait("end");
        win.close();
    }
</script>